package com.yequan.thread.lock.reentrantlock.condition;

public class MyThreadAwait extends Thread {

    private MyService myService;

    public MyThreadAwait(MyService myService) {
        this.myService = myService;
    }

    @Override
    public void run() {
        myService.await();
    }
}
